from PyQt5.QtWidgets import QFrame


class LineFrame(QFrame):
    def __init__(self, frame_shape=QFrame.HLine, color="black", parent=None):
        super(LineFrame, self).__init__(parent)
        self.setFrameShape(frame_shape)
        self.setStyleSheet(f'color: {color}')
